<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="format-detection" content="telephone=no"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><link rel="icon" href="/images/touxiang1.png?v=2.6.1" type="image/png" sizes="16x16"><link rel="icon" href="/images/touxiang1.png?v=2.6.1" type="image/png" sizes="32x32"><meta name="description" content="JVM_01                           学习JVM                             Java语言、JVM                             JVM工作流程                            JVM生命周期                            JVM内">
<meta property="og:type" content="article">
<meta property="og:title" content="JVM">
<meta property="og:url" content="https://gityang2016.gitee.io/2021/01/27/JVM_01/index.html">
<meta property="og:site_name" content="Yangj&#39;s blog">
<meta property="og:description" content="JVM_01                           学习JVM                             Java语言、JVM                             JVM工作流程                            JVM生命周期                            JVM内">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm1.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm2.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm3.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm4.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm5.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm6.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm7.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm8.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm9.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm10.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm11.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm12.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm13.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm14.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm15.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm16.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm17.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm18.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm19.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm20.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm24.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm25.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm26.png">
<meta property="og:image" content="https://gityang2016.gitee.io/images/jvm/jvm27.png">
<meta property="article:published_time" content="2021-01-26T16:09:38.624Z">
<meta property="article:modified_time" content="2021-01-26T17:30:24.609Z">
<meta property="article:author" content="Yangj">
<meta property="article:tag" content="JVM">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://gityang2016.gitee.io/images/jvm/jvm1.png"><title>JVM | Yangj's blog</title><link ref="canonical" href="https://gityang2016.gitee.io/2021/01/27/JVM_01/"><link rel="dns-prefetch" href="https://cdn.jsdelivr.net"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.12.1/css/all.min.css" type="text/css"><link rel="stylesheet" href="/css/index.css?v=2.6.1"><script>var Stun = window.Stun || {};
var CONFIG = {
  root: '/',
  algolia: undefined,
  assistSearch: undefined,
  fontIcon: {"prompt":{"success":"fas fa-check-circle","info":"fas fa-arrow-circle-right","warning":"fas fa-exclamation-circle","error":"fas fa-times-circle"},"copyBtn":"fas fa-copy"},
  sidebar: {"offsetTop":"20px","tocMaxDepth":6},
  header: {"enable":true,"showOnPost":true,"scrollDownIcon":true},
  postWidget: {"endText":true},
  nightMode: {"enable":true},
  back2top: {"enable":true},
  codeblock: {"style":"default","highlight":"light","wordWrap":false},
  reward: false,
  fancybox: false,
  zoomImage: {"gapAside":"20px"},
  galleryWaterfall: undefined,
  lazyload: false,
  pjax: undefined,
  externalLink: {"icon":{"enable":true,"name":"fas fa-external-link-alt"}},
  shortcuts: undefined,
  prompt: {"copyButton":"Copy","copySuccess":"Copy Success","copyError":"Copy Error"},
  sourcePath: {"js":"js","css":"css","images":"images"},
};

window.CONFIG = CONFIG;</script><meta name="generator" content="Hexo 5.3.0"><link rel="alternate" href="/atom.xml" title="Yangj's blog" type="application/atom+xml">
</head><body><div class="container" id="container"><header class="header" id="header"><div class="header-inner"><nav class="header-nav header-nav--fixed"><div class="header-nav-inner"><div class="header-nav-menubtn"><i class="fas fa-bars"></i></div><div class="header-nav-menu"><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/"><span class="header-nav-menu-item__icon"><i class="fas fa-home"></i></span><span class="header-nav-menu-item__text">Home</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/archives/"><span class="header-nav-menu-item__icon"><i class="fas fa-folder-open"></i></span><span class="header-nav-menu-item__text">Archives</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/categories/"><span class="header-nav-menu-item__icon"><i class="fas fa-layer-group"></i></span><span class="header-nav-menu-item__text">Categories</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/tags/"><span class="header-nav-menu-item__icon"><i class="fas fa-tags"></i></span><span class="header-nav-menu-item__text">Tags</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/aboutme/"><span class="header-nav-menu-item__icon"><i class="fas fa-user-tag"></i></span><span class="header-nav-menu-item__text">About</span></a></div></div><div class="header-nav-mode"><div class="mode"><div class="mode-track"><span class="mode-track-moon"></span><span class="mode-track-sun"></span></div><div class="mode-thumb"></div></div></div></div></nav><div class="header-banner"><div class="header-banner-info"><div class="header-banner-info__title">Yangj's blog</div><div class="header-banner-info__subtitle">It is never too late to mend</div></div><div class="header-banner-arrow"><div class="header-banner-arrow__icon"><i class="fas fa-angle-down"></i></div></div></div></div></header><main class="main" id="main"><div class="main-inner"><div class="content-wrap" id="content-wrap"><div class="content" id="content"><!-- Just used to judge whether it is an article page--><div id="is-post"></div><div class="post"><header class="post-header"><h1 class="post-title">JVM</h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">Created</span><span class="post-meta-item__value">2021-01-27</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">Updated</span><span class="post-meta-item__value">2021-01-27</span></span></div></header><div class="post-body">
        <h1 id="JVM-01"   >
          <a href="#JVM-01" class="heading-link"><i class="fas fa-link"></i></a>JVM_01</h1>
      
        <h2 id="学习JVM"   >
          <a href="#学习JVM" class="heading-link"><i class="fas fa-link"></i></a>学习JVM</h2>
      <p><img src="/images/jvm/jvm1.png"> </p>

        <h2 id="Java语言、JVM"   >
          <a href="#Java语言、JVM" class="heading-link"><i class="fas fa-link"></i></a>Java语言、JVM</h2>
      <p><img src="/images/jvm/jvm2.png"></p>
<p><img src="/images/jvm/jvm3.png"><br><img src="/images/jvm/jvm4.png"></p>

        <h3 id="JVM工作流程"   >
          <a href="#JVM工作流程" class="heading-link"><i class="fas fa-link"></i></a>JVM工作流程</h3>
      <p><img src="/images/jvm/jvm5.png"><br><img src="/images/jvm/jvm6.png"><br><img src="/images/jvm/jvm7.png"></p>

        <h2 id="JVM生命周期"   >
          <a href="#JVM生命周期" class="heading-link"><i class="fas fa-link"></i></a>JVM生命周期</h2>
      <p><img src="/images/jvm/jvm8.png"><br><img src="/images/jvm/jvm9.png"><br><img src="/images/jvm/jvm10.png"></p>

        <h2 id="JVM内存简图"   >
          <a href="#JVM内存简图" class="heading-link"><i class="fas fa-link"></i></a>JVM内存简图</h2>
      <p><img src="/images/jvm/jvm11.png"><br><img src="/images/jvm/jvm12.png"><br><img src="/images/jvm/jvm13.png"><br><img src="/images/jvm/jvm14.png"><br><img src="/images/jvm/jvm15.png"><br><img src="/images/jvm/jvm16.png"><br><img src="/images/jvm/jvm17.png"><br><img src="/images/jvm/jvm18.png"><br><img src="/images/jvm/jvm19.png"><br><img src="/images/jvm/jvm20.png"></p>

        <h2 id="双亲委派机制"   >
          <a href="#双亲委派机制" class="heading-link"><i class="fas fa-link"></i></a>双亲委派机制</h2>
      <p><img src="/images/jvm/jvm24.png"><br><img src="/images/jvm/jvm25.png"><br><img src="/images/jvm/jvm26.png"><br><img src="/images/jvm/jvm27.png"></p>
</div><footer class="post-footer"><div class="post-ending ending"><div class="ending__text">------ END ------</div></div><div class="post-copyright copyright"><div class="copyright-author"><span class="copyright-author__name">Author: </span><span class="copyright-author__value"><a href="https://gityang2016.gitee.io">Yangj</a></span></div><div class="copyright-link"><span class="copyright-link__name">Link: </span><span class="copyright-link__value"><a href="https://gityang2016.gitee.io/2021/01/27/JVM_01/">https://gityang2016.gitee.io/2021/01/27/JVM_01/</a></span></div><div class="copyright-notice"><span class="copyright-notice__name">Copyright: </span><span class="copyright-notice__value">All articles in this blog are licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en" rel="external nofollow" target="_blank">BY-NC-SA</a> unless stating additionally</span></div></div><div class="post-tags"><span class="post-tags-item"><span class="post-tags-item__icon"><i class="fas fa-tag"></i></span><a class="post-tags-item__link" href="https://gityang2016.gitee.io/tags/JVM/">JVM</a></span></div><nav class="post-paginator paginator"><div class="paginator-prev"><a class="paginator-prev__link" href="/2021/01/27/java_annotation_01/"><span class="paginator-prev__icon"><i class="fas fa-angle-left"></i></span><span class="paginator-prev__text">反射</span></a></div><div class="paginator-next"><a class="paginator-next__link" href="/2021/01/27/mysql_01/"><span class="paginator-prev__text">MySQL_01</span><span class="paginator-next__icon"><i class="fas fa-angle-right"></i></span></a></div></nav></footer></div></div></div><div class="sidebar-wrap" id="sidebar-wrap"><aside class="sidebar" id="sidebar"><div class="sidebar-nav"><span class="sidebar-nav-toc current">Catalog</span><span class="sidebar-nav-ov">Overview</span></div><section class="sidebar-toc"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#JVM-01"><span class="toc-number">1.</span> <span class="toc-text">
          JVM_01</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%AD%A6%E4%B9%A0JVM"><span class="toc-number">1.1.</span> <span class="toc-text">
          学习JVM</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Java%E8%AF%AD%E8%A8%80%E3%80%81JVM"><span class="toc-number">1.2.</span> <span class="toc-text">
          Java语言、JVM</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#JVM%E5%B7%A5%E4%BD%9C%E6%B5%81%E7%A8%8B"><span class="toc-number">1.2.1.</span> <span class="toc-text">
          JVM工作流程</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#JVM%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F"><span class="toc-number">1.3.</span> <span class="toc-text">
          JVM生命周期</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#JVM%E5%86%85%E5%AD%98%E7%AE%80%E5%9B%BE"><span class="toc-number">1.4.</span> <span class="toc-text">
          JVM内存简图</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%8F%8C%E4%BA%B2%E5%A7%94%E6%B4%BE%E6%9C%BA%E5%88%B6"><span class="toc-number">1.5.</span> <span class="toc-text">
          双亲委派机制</span></a></li></ol></li></ol></section><!-- ov = overview--><section class="sidebar-ov hide"><div class="sidebar-ov-author"><div class="sidebar-ov-author__avatar"><img class="sidebar-ov-author__avatar_img" src="/images/touxiang2.jpg" alt="avatar"></div><p class="sidebar-ov-author__text">Storms make trees take deeper roots</p></div><div class="sidebar-ov-social"><a class="sidebar-ov-social-item" href="https://github.com/Gityang2016" target="_blank" rel="noopener" data-popover="Github" data-popover-pos="up"><span class="sidebar-ov-social-item__icon"><i class="fab fa-github"></i></span></a></div><div class="sidebar-ov-state"><a class="sidebar-ov-state-item sidebar-ov-state-item--posts" href="/archives/"><div class="sidebar-ov-state-item__count">6</div><div class="sidebar-ov-state-item__name">Archives</div></a><a class="sidebar-ov-state-item sidebar-ov-state-item--categories" href="/categories/"><div class="sidebar-ov-state-item__count">8</div><div class="sidebar-ov-state-item__name">Categories</div></a><a class="sidebar-ov-state-item sidebar-ov-state-item--tags" href="/tags/"><div class="sidebar-ov-state-item__count">5</div><div class="sidebar-ov-state-item__name">Tags</div></a></div><div class="sidebar-ov-cc"><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en" target="_blank" rel="noopener" data-popover="Creative Commons" data-popover-pos="up"><img src="/images/cc-by-nc-sa.svg"></a></div></section><div class="sidebar-reading"><div class="sidebar-reading-info"><span class="sidebar-reading-info__text">You have read </span><span class="sidebar-reading-info__num">0</span><span class="sidebar-reading-info__perc">%</span></div><div class="sidebar-reading-line"></div></div></aside></div><div class="clearfix"></div></div></main><footer class="footer" id="footer"><div class="footer-inner"><div><span>Copyright © 2021</span><span class="footer__icon"><i class="fas fa-heart"></i></span><span>Gityang2016</span></div><div><span>Powered by <a href="http://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a></span><span> v5.3.0</span><span class="footer__devider">|</span><span>Theme - <a href="https://github.com/liuyib/hexo-theme-stun/" title="Stun" target="_blank" rel="noopener">Stun</a></span><span> v2.6.1</span></div></div></footer><div class="loading-bar" id="loading-bar"><div class="loading-bar__progress"></div></div><div class="back2top" id="back2top"><span class="back2top__icon"><i class="fas fa-rocket"></i></span></div></div><script src="https://cdn.jsdelivr.net/npm/jquery@v3.4.1/dist/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-animate@1.5.2/velocity.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-animate@1.5.2/velocity.ui.min.js"></script><script src="/js/utils.js?v=2.6.1"></script><script src="/js/stun-boot.js?v=2.6.1"></script><script src="/js/scroll.js?v=2.6.1"></script><script src="/js/header.js?v=2.6.1"></script><script src="/js/sidebar.js?v=2.6.1"></script></body></html>